﻿' LibWowArmory
' by Ronald M. Clifford (roncli@roncli.com)
'
' This source code is released under the GNU Library General Public License (LGPL) Version 2.1.

Imports System.Collections.ObjectModel
Imports Newtonsoft.Json

Namespace roncliProductions.LibWowArmory.PvP.Schema

    Public Class team

        <JsonProperty()> Public Property realm As String
        <JsonProperty()> Public Property ranking As Integer
        <JsonProperty()> Public Property rating As Integer
        <JsonProperty()> Public Property teamsize As Integer
        <JsonProperty()> Public Property created As String
        <JsonProperty()> Public Property name As String
        <JsonProperty()> Public Property gamesPlayed As Integer
        <JsonProperty()> Public Property gamesWon As Integer
        <JsonProperty()> Public Property gamesLost As Integer
        <JsonProperty()> Public Property sessionGamesPlayed As Integer
        <JsonProperty()> Public Property sessionGamesWon As Integer
        <JsonProperty()> Public Property sessionGamesLost As Integer
        <JsonProperty()> Public Property lastSessionRanking As Integer
        <JsonProperty()> Public Property side As String
        <JsonProperty()> Public Property currentWeekRanking As Integer

        Dim mMembers As New Collection(Of member)
        <JsonProperty()> Public ReadOnly Property members As Collection(Of member)
            Get
                Return mMembers
            End Get
        End Property

    End Class

End Namespace